﻿namespace ScrumLite.Services
{
    using System.Collections.ObjectModel;
    using ScrumLite.Services.Contracts;
    using System.ServiceModel;

    [ServiceContract]
    public interface IRolesService
    {
        [OperationContract]
        ProjectRole GetProjectRole(string roleId);

        [OperationContract]
        Collection<ProjectRole> GetProjectRoles(string projectId);

        [OperationContract]
        Collection<Ability> GetAbilities(string projectId, string roleId);

        [OperationContract]
        void AddRoleToProject(string projectId, string roleName, string[] abilityIds);
    }
}
